  /**
   * Generate time : 2016-03-28 11:23:13
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.cc.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCCProduceproblemModify 
 * table comment : 生产问题整改记录 
 */
public class ZMCCProduceproblemModify extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdRecordId = " ";		/* 生产问题记录ID*/
	private String fdRecordHandleId = " ";		/* 生产问题处理ID*/
	private String fdFeedback = " ";		/* 整改反馈*/
	private String fdFeedbackDate = " ";		/* 反馈日期*/
	private String fdFeedbackPeopleId = " ";		/* 反馈人ID*/
	private String fdFeedbackPeople = " ";		/* 反馈人*/
	private String fdCreateTime = " ";		/* 创建时间*/
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecordId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("生产问题记录ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdRecordHandleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("生产问题处理ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedback");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("整改反馈");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("反馈日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackPeopleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("反馈人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFeedbackPeople");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("反馈人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("创建时间");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCCProduceproblemModify() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdRecordId - 生产问题记录ID
	 * @return the fdRecordId
	 */
	public String getFdRecordId() {
		return this.fdRecordId;
	}
	
	/**
	 * set the fdRecordId - 生产问题记录ID
	 */
	public void setFdRecordId(String fdRecordId) {
		this.fdRecordId = fdRecordId;
	}
	/**
	 * get the fdRecordHandleId - 生产问题处理ID
	 * @return the fdRecordHandleId
	 */
	public String getFdRecordHandleId() {
		return this.fdRecordHandleId;
	}
	
	/**
	 * set the fdRecordHandleId - 生产问题处理ID
	 */
	public void setFdRecordHandleId(String fdRecordHandleId) {
		this.fdRecordHandleId = fdRecordHandleId;
	}
	/**
	 * get the fdFeedback - 整改反馈
	 * @return the fdFeedback
	 */
	public String getFdFeedback() {
		return this.fdFeedback;
	}
	
	/**
	 * set the fdFeedback - 整改反馈
	 */
	public void setFdFeedback(String fdFeedback) {
		this.fdFeedback = fdFeedback;
	}
	/**
	 * get the fdFeedbackDate - 反馈日期
	 * @return the fdFeedbackDate
	 */
	public String getFdFeedbackDate() {
		return this.fdFeedbackDate;
	}
	
	/**
	 * set the fdFeedbackDate - 反馈日期
	 */
	public void setFdFeedbackDate(String fdFeedbackDate) {
		this.fdFeedbackDate = fdFeedbackDate;
	}
	/**
	 * get the fdFeedbackPeopleId - 反馈人ID
	 * @return the fdFeedbackPeopleId
	 */
	public String getFdFeedbackPeopleId() {
		return this.fdFeedbackPeopleId;
	}
	
	/**
	 * set the fdFeedbackPeopleId - 反馈人ID
	 */
	public void setFdFeedbackPeopleId(String fdFeedbackPeopleId) {
		this.fdFeedbackPeopleId = fdFeedbackPeopleId;
	}
	/**
	 * get the fdFeedbackPeople - 反馈人
	 * @return the fdFeedbackPeople
	 */
	public String getFdFeedbackPeople() {
		return this.fdFeedbackPeople;
	}
	
	/**
	 * set the fdFeedbackPeople - 反馈人
	 */
	public void setFdFeedbackPeople(String fdFeedbackPeople) {
		this.fdFeedbackPeople = fdFeedbackPeople;
	}
	/**
	 * get the fdCreateTime - 创建时间
	 * @return the fdCreateTime
	 */
	public String getFdCreateTime() {
		return this.fdCreateTime;
	}
	
	/**
	 * set the fdCreateTime - 创建时间
	 */
	public void setFdCreateTime(String fdCreateTime) {
		this.fdCreateTime = fdCreateTime;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdRecordId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecordId")), fdRecordId));
		setFdRecordHandleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecordHandleId")), fdRecordHandleId));
		setFdFeedback(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedback")), fdFeedback));
		setFdFeedbackDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackDate")), fdFeedbackDate));
		setFdFeedbackPeopleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackPeopleId")), fdFeedbackPeopleId));
		setFdFeedbackPeople(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFeedbackPeople")), fdFeedbackPeople));
		setFdCreateTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateTime")), fdCreateTime));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdRecordId",StringUtils.toString(fdRecordId, eiMetadata.getMeta("fdRecordId")));	
			map.put("fdRecordHandleId",StringUtils.toString(fdRecordHandleId, eiMetadata.getMeta("fdRecordHandleId")));	
			map.put("fdFeedback",StringUtils.toString(fdFeedback, eiMetadata.getMeta("fdFeedback")));	
			map.put("fdFeedbackDate",StringUtils.toString(fdFeedbackDate, eiMetadata.getMeta("fdFeedbackDate")));	
			map.put("fdFeedbackPeopleId",StringUtils.toString(fdFeedbackPeopleId, eiMetadata.getMeta("fdFeedbackPeopleId")));	
			map.put("fdFeedbackPeople",StringUtils.toString(fdFeedbackPeople, eiMetadata.getMeta("fdFeedbackPeople")));	
			map.put("fdCreateTime",StringUtils.toString(fdCreateTime, eiMetadata.getMeta("fdCreateTime")));	
			
		return map;
	
	}
}